Dynamic configuration of applications deployed in a cloud

ABSTRACT

A system is provided to deploy a computing application in a cloud using a service provider interface. The system comprises a configuration request detector, a configuration object retriever, and a configuration installer. The configuration request detector receives, at a computer system provided within a virtualization service, a configuration request. The configuration object retriever retrieves a configuration object in response to the configuration request. The configuration installer uses the configuration object, to automatically install a configuration associated with the configuration object to produce a second version of the computing application. The second version of the computing application provides additional features or services according to the definition of the configuration object.

This disclosure relates generally to the technical fields of softwareand/or hardware technology and, in one example embodiment, to system andmethod to dynamically configure a computing application deployed in acloud.

BACKGROUND

The approaches described in this section could be pursued, but are notnecessarily approaches that have been previously conceived or pursued.Therefore, unless otherwise indicated herein, the approaches describedin this section are not prior art to the claims in this application andare not admitted to be prior art by inclusion in this section.

The phrase “cloud computing” refers to an architectural paradigm, inwhich computation is moved from local servers to a remote service thatprovides computation as a commodity or utility. A “cloud” is typically alarge collection of shared commodity computation resources that can beinterchangeably provisioned in response to clients' computationrequests. Cloud computing is frequently used in software-as-a-service(SaaS) application architectures and may be viewed as an implementationchoice for application deployment that leverages shared resources andimproved cost structure of the cloud. A cloud computing approach may beused to implement a variety of computational paradigms, such as virtualmachines, jobs, remote procedure calls, traditional servers, etc.

BRIEF DESCRIPTION OF DRAWINGS

Embodiments are illustrated by way of example and not limitation in thefigures of the accompanying drawings, in which like references indicatesimilar elements and in which:

FIG. 1 is a diagrammatic representation of diagrammatic representationof a computing application configured to access cloud-specific servicesvia a service provider interface, in accordance with an exampleembodiment;

FIG. 2 is a block diagram showing an architecture within which a methodand system to install a configuration for a computing applicationdeployed in a cloud may be implemented, in accordance with an exampleembodiment;

FIG. 3 is a block diagram illustrating some components of a systemcomprising to install a configuration for a computing applicationdeployed in a cloud, in accordance with an example embodiment;

FIG. 4 is a flow chart illustrating a method install a configuration fora computing application deployed in a cloud, in accordance with anexample embodiment; and

FIG. 5 is a diagrammatic representation of a machine in the example formof a computer system within which a set of instructions, for causing themachine to perform any one or more of the methodologies discussedherein, may be executed.

DETAILED DESCRIPTION

In the following detailed description, numerous specific details are setforth to provide a thorough understanding of claimed subject matter.However, it will be understood by those skilled in the art that claimedsubject matter may be practiced without these specific details. In otherinstances, methods, apparatuses or systems that would be known by one ofordinary skill have not been described in detail so as not to obscureclaimed subject matter.

Some portions of the detailed description which follow are presented interms of algorithms or symbolic representations of operations on binarydigital signals stored within a memory of a specific apparatus orspecial purpose computing device or platform. In the context of thisparticular specification, the term specific apparatus or the likeincludes a general purpose computer once it is programmed to performparticular functions pursuant to instructions from program software.Algorithmic descriptions or symbolic representations are examples oftechniques used by those of ordinary skill in the signal processing orrelated arts to convey the substance of their work to others skilled inthe art. An algorithm is here, and generally, considered to be aself-consistent sequence of operations or similar signal processingleading to a desired result. In this context, operations or processinginvolve physical manipulation of physical quantities. Typically,although not necessarily, such quantities may take the form ofelectrical or magnetic signals capable of being stored, transferred,combined, compared or otherwise manipulated. It has proven convenient attimes, principally for reasons of common usage, to refer to such signalsas bits, data, values, elements, symbols, characters, terms, numbers,numerals or the like. It should be understood, however, that all ofthese or similar terms are to be associated with appropriate physicalquantities and are merely convenient labels. Unless specifically statedotherwise, as apparent from the following discussion, it is appreciatedthat throughout this specification discussions utilizing terms such as“processing,” “computing,” “calculating,” “determining” or the likerefer to actions or processes of a specific apparatus, such as a specialpurpose computer or a similar special purpose electronic computingdevice. In the context of this specification, therefore, a specialpurpose computer or a similar special purpose electronic computingdevice is capable of manipulating or transforming signals, typicallyrepresented as physical electronic or magnetic quantities withinmemories, registers, or other information storage devices, transmissiondevices, or display devices of the special purpose computer or similarspecial purpose electronic computing device.

A computing application (also referred to as merely an application) maybe made available to users by deploying the application on one or morevirtual instances of a machine running in a cloud, i.e., within a publicor a private virtualization space. A virtualization space (also referredto as a cloud) may be provided by different providers. A computingapplication may be launched in a cloud by instructing the cloud providerto access one or more machine images containing the applicationdescription and load the one or more machine images onto the physicalmachines provided by the cloud provider and make it accessible to theuser via a network. A machine image is a read-only boot image that isused for launching an instance of a virtual machine running one or morecomponents of the requested computing application. One or more machineimages representing a computing application may be provided to a networkstorage system (e.g., Amazon S3) by a control server (also referred toas a controller).

A system that provisions and manages a computing application hosted onone or more virtual instances of a machine may be referred to as ahosted service system. A hosted service system may be configured toprovide automated administration of a computing application, replacingthe administration tasks that would otherwise be performed by thecustomer when running in an on-premise production deployment. Thetechnology within an example hosted service system may hide the behaviorof the underlying virtualization service, and provide instances of acomputing application that are substantially indistinguishable (e.g., interms of reliability, security, and performance) from local on-premisedeployments of the computing application. For example, a hosted servicesystem may provision and manage computing applications such as a genericcontent server, Adobe® LiveCycle® Enterprise Suite (ES) and Adobe®ConnectPro® offered by Adobe Systems Incorporated, etc. Whileembodiments of the smart scheduler are described with reference toAmazon EC2 service, other virtualization services may be utilized.

In operation, a user can access a provider's web site and request tolaunch a computing application that can be deployed remotely on aplurality of virtual instances of a machine (in a cloud) such that theuser no longer is required to deploy the computing application locally,within their own data center, on their own hardware. A request may betriggered by a user, e.g., by activating a visual control such as a“Start” button presented on a web page.

A generic or basic version of a computing application may be packaged asa machine image and stored at a network storage system. In a cloudenvironment, it may be desirable to allow dynamic configurability of acomputing application, such that a great number of servers running thecomputing application can be started and stopped without additionalpre-configuration or re-configuration. In one embodiment, aconfiguration file (also referred to as a configuration object) thatcontains configuration instructions may be handled by a cloud-basedcomputing application (e.g., a cloud-based content server) in the samemanner as any other content. For example, a content server deployed in acloud may store a configuration file and then can permit a user torequest that this configuration is installed to enhance the basicversion of the content server with additional features. A configurationfile (or configuration object) may comprise executable code anddescriptive metadata (configuration metadata). The configurationmetadata could specify the hardware requirements needed, the additionalservices required for the configuration to operate, or could provideother initialization information required for the code that is beingloaded.

When a new instance of a content server is started in a cloud, it can bepointed at an existing configuration object to be used that defines theset of services that the new content server will provide (both, servicesfor external clients and background services).

In one example embodiment, a computing application (e.g., a contentserver) may be generated such that the generic portion of theapplication is distinct from a service provider interface layer and yetmay be provided together with the service provider interface layer. Theservice provider interface layer may include interfaces for differentimplementations of a virtualization service. Based on the particularimplementation that is being used for launching the computingapplication in a cloud, the appropriate interface from the serviceprovider interface layer is accessed and launched in order to permitinterfacing between the computing application and cloud-specificservices. A particular implementation of a virtualization service mayinclude a particular implementation of a database service, a particularimplementation of a file system service, and a particular implementationof a queue service. The interface for a particular virtualizationservice provider may thus include an interface for that databaseservice, an interface for that file system service and an interface forthat queue service. This approach may be utilized beneficially with aconfiguration mechanism where a generic version of a content serverdeployed in a cloud can obtain and install another configuration thatmay provide users with additional features or services. A diagrammaticrepresentation 100 of a computing application configured to accesscloud-specific services via a service provider interface (SPI) is shownin FIG. 1.

As shown in FIG. 1, interfaces that permit a generic content server 110to access a cloud-specific database, a cloud-specific file system, and acloud-specific job queue comprise a metadata SPI 112, a content storeSPI 114, and a job queue SPI 116. The metadata SPI 112 permits access toa database 122, the content store SPI 114 permits access to a filesystem 124, and the job queue SPI 116 permits access to a job queue 126.The generic content server 110 is shown to be in communication with aclient library computer system 130. Each of the database 122, the filesystem 124, and the job queue 126 may be provided on the same cloud asthe generic content server 110 and its associated SPIs or off the cloudat a third party computer system. Also shown in FIG. 1 is aconfiguration manager 116 that may be configured to receive and processrequests related to storing, installing, updating, or deleting aconfiguration object.

An example architecture within which method and system to provision, ina cloud, a computing application and an associated service providerinterface may be implemented is described with reference to anarchitecture diagram illustrated in FIG. 2. The architecture 200 mayinclude a client computer system 220 and a hosted service system 220. Inone example embodiment, the hosted service system 220 is to provisionand manage an enterprise SaaS product utilizing a cloud-based computingservice as a virtualization infrastructure. Cloud-based computingservices, as shown in FIG. 2, are provided by a virtualization servicehost 230 and a network storage service 240. In one embodiment, a hostedservice system 220 utilizes Amazon Elastic Compute Cloud (EC2) serviceas a virtualization service and Amazon Simple Storage Service (AmazonS3) as a network storage service. In some embodiments, the hostedservice system 220 may utilize more than one virtualization servicehost, e.g., one host being Amazon EC2 and another host provided by AdobeSystems Incorporated. The client computer system 220 and the hostedservice system 220 may be in communication with each other via acommunications network that may be a public network (e.g., theInternet).

The virtualization service host 230 may load a server computer system232 onto a cloud. The server computer system 232 may be accessed by theclient 220 via a browser application 212. As mentioned above, a user incontrol of the client computer system 220 may send a request to thehosted service system 220 to load the server computer system 232. Therequest may be initiated via a user interface 222 provided by the hostedservice system 220 to the client computer system 220 via the browserapplication 212.

The user interface 222, in one embodiment, provides both an end-user'sand a system administrator's view of the server computer system 232 andalso permits issuing control operations to the server computer system232 and permits viewing the resulting changes in the state of the servercomputer system 232. For example, where a computing application providedby the server computer system 232 is a content server, an end-user maymanipulate various electronic forms. The user interface 222 may alsoserve as a source of information for the hosted service system 220,including documentation, downloads, and support. The user interface 222,in one embodiment, uses Adobe® Flex® software, offered by Adobe SystemsIncorporated, as the user interface technology for the implementation ofthe user interface. The user interface 222, in one embodiment, uses anXML (Extensible Markup Language) -based representational state transfer(REST) style secure communications protocol to synchronize itsoperations with a control server 224. A request to access the userinterface 222 may be authenticated using one of a variety ofauthentication techniques.

The request from the client computer system 220 to load the servercomputer system 232 is received at the control server 224, whichresponds to the request by activating an access interface 234 providedby the virtualization service host 230. The control server 224, in oneexample embodiment, provides coordination between the components of thearchitecture 200, provides administration and monitoring of thevirtualization service host 230, and also may be configured to auditsystem usage and resource allocation with respect to the server computersystem 232. The control server 224 includes a database to storeinformation pertaining to various aspects of system usage. The controlserver 224, in one embodiment, runs within a standard Hypertext TransferProtocol Secure (HTTPS)-compliant web server and may be deployed as apublically accessible web application that is available outside afirewall. The control server 224, in one embodiment, is implementedusing Ruby on Rails™ technology.

The virtualization service host 230 accesses the storage 244 of thenetwork storage system 240 to obtain one or more machine images in orderto load the associated server computer system 232. The machine imagescan be uploaded to the network storage system by the control server 224utilizing an access interface 242 provided with the network storagesystem 240. The hosted service system 220 further includes a securenetworking client 226 to provide a bidirectional, encrypted, compressedconnection between a machine in the end-user's secure networkenvironment (e.g., the client computer system 220) and one or moreinstances of a virtual machine running within the virtualizationinfrastructure (the server computer system 232). The networking client226 manages various aspects of transmission control protocol (TCP)traffic forwarding, encryption, and network discovery, such that theuser can access the server computer system 232 as if it was runninglocally on the user's machine. In this mode, the user's network securityenvelope is extended to surround the server computer system 232 usingcomparable levels of encryption and protection against network securitythreats.

In one example embodiment, the server computer system 232 hosts acomputing application (e.g., a content server) that is equipped with aconfiguration manager 233. The configuration manager 233 may be used toreceive requests to store or access configuration objects, as well asperform other configuration-related tasks as is described further belowwith reference to FIG. 3 and FIG. 4. A configuration module 225 may beprovided at the control server 224 and may be used to generate andmaintain configuration objects. Some components of the server computersystem that may be launched in a cloud are described with reference toFIG. 3.

FIG. 3 is a block diagram illustrating a computer system 300 thatcorresponds to the server computer system 232 of FIG. 2. The system 300,in one example embodiment, comprises a configuration request detector302, a configuration object retriever 304, and a configuration installer306. The configuration request detector 302 may be configured toreceive, at a computer system provided within a virtualization service,a configuration request, the computer system executing a first versionof a computing application. The configuration object retriever 304 maybe configured to retrieve a configuration object in response to theconfiguration request. The configuration object may comprise executablecode and metadata. The configuration installer 306 may be configured toautomatically, using the configuration object, install a configurationassociated with the configuration object to produce a second version ofthe computing application. The second version of the computingapplication running within the virtualization service may provideadditional features or services according to the definition of theconfiguration object. Example operations performed by the system 300 arediscussed below with reference to FIG. 4.

FIG. 4 is a flow chart illustrating a method 400 for updating aconfiguration of a computing application deployed in a cloud, inaccordance with an example embodiment. The method 400 may be performedby processing logic that may comprise hardware, software (such as run ona general purpose computer system programmed to perform particularfunctions pursuant to instructions from program software or on adedicated machine), or a combination of both. The processing logic,according to example embodiments, may reside in or comprise any of themodules shown in FIG. 3.

As shown in FIG. 4, the method 400 commences with operation 410, wherethe configuration request detector 302 of FIG. 3 receives aconfiguration request, the computer system executing a first version ofa computing application. At operation 420, the configuration objectretriever 304 of FIG. 3 retrieves a configuration object in response tothe configuration request. The configuration object may compriseexecutable code and metadata. At operation 420, the configurationinstaller 306 of FIG. 3 automatically, using the configuration object,installs a configuration associated with the configuration object toproduce a second version of the computing application. The secondversion of the computing application running within the virtualizationservice may provide additional features or services according to thedefinition of the configuration object.

FIG. 5 is a diagrammatic representation of a machine in the exampleelectronic form of a computer system 500 within which a set ofinstructions, for causing the machine to perform any one or more of themethodologies discussed herein, may be executed. In various embodiments,the machine operates as a standalone device or may be connected (e.g.,networked) to other machines. In a networked deployment, the machine mayoperate in the capacity of a server or a client machine in server-clientnetwork environment, or as a peer machine in a peer-to-peer (ordistributed) network environment. The machine may be a personal computer(PC), a tablet PC, a set-top box (STB), a Personal Digital Assistant(PDA), a cellular telephone, a portable music player (e.g., a portablehard drive audio device such as an “Moving Picture Experts Group (MPEG)Layer 3” (MP3) player), a web appliance, a network router, switch orbridge, or any machine capable of executing a set of instructions(sequential or otherwise) that specify actions to be taken by thatmachine. Further, while only a single machine is illustrated, the term“machine” shall also be taken to include any collection of machines thatindividually or jointly execute a set (or multiple sets) of instructionsto perform any one or more of the methodologies discussed herein.

The example computer system 500 includes a processor 502 (e.g., acentral processing unit (CPU), a graphics processing unit (GPU) orboth), a main memory 504 and a static memory 506, which communicate witheach other via a bus 508. The computer system 500 may further include avideo display unit 510 (e.g., a liquid crystal display (LCD) or acathode ray tube (CRT)). The computer system 500 also includes analphanumeric input device 512 (e.g., a keyboard), a user interface (UI)cursor control device 514 (e.g., a mouse), a disk drive unit 516, asignal generation device 518 (e.g., a speaker) and a network interfacedevice 520.

The disk drive unit 516 includes a computer-readable (ormachine-readable) medium 522 on which is stored one or more sets ofinstructions and data structures (e.g., software 524) embodying orutilized by any one or more of the methodologies or functions describedherein. The software 524 may also reside, completely or at leastpartially, within the main memory 504 and/or within the processor 502during execution thereof by the computer system 500, the main memory 504and the processor 502 also constituting machine-readable media.

The software 524 may further be transmitted or received over a network526 via the network interface device 520 utilizing any one of a numberof well-known transfer protocols (e.g., Hyper Text Transfer Protocol(HTTP)).

While the machine-readable medium 522 is shown in an example embodimentto be a single medium, the term “machine-readable medium” should betaken to include a single medium or multiple media (e.g., a centralizedor distributed database, and/or associated caches and servers) thatstore the one or more sets of instructions. The term “machine-readablemedium” shall also be taken to include any medium that is capable ofstoring or encoding a set of instructions for execution by the machineand that cause the machine to perform any one or more of themethodologies of the present invention, or that is capable of storing orencoding data structures utilized by or associated with such a set ofinstructions. The term “machine-readable medium” shall accordingly betaken to include, but not be limited to, solid-state memories, opticaland magnetic media. Such medium may also include, without limitation,hard disks, floppy disks, flash memory cards, digital video disks,random access memory (RAMs), read only memory (ROMs), and the like.

Thus, method and system to install a configuration for a computingapplication deployed in a cloud have been described. Example approachesdescribed herein may be utilized beneficially with a variety ofcomputing applications, such as. e.g., content servers and cloudmanagement systems.

The embodiments described herein may be implemented in an operatingenvironment comprising software installed on a computer, in hardware, orin a combination of software and hardware. Although embodiments havebeen described with reference to specific example embodiments, it willbe evident that various modifications and changes may be made to theseembodiments without departing from the broader spirit and scope of theinvention. Accordingly, the specification and drawings are to beregarded in an illustrative rather than a restrictive sense.

1. A method comprising: at a computer system provided within avirtualization service, receiving a configuration request, the computersystem executing a first version of a computing application, thevirtualization service facilitating a cloud computing architecture, thecloud architecture facilitating loading one or more machine imagescontaining description of the computing application onto one or morephysical machines and making the computing application accessible via anetwork; in response to the configuration request, retrieving aconfiguration object, the configuration object stored by the computingapplication and comprising executable code and metadata; andautomatically, using the configuration object, installing aconfiguration associated with the configuration object to produce asecond version of the computing application, the second version of thecomputing application running within the virtualization service.
 2. Themethod of claim 1, comprising: at the computer system provided withinthe virtualization service, receiving a request to store theconfiguration object, the configuration object comprising configurationname; in response to the request to store, storing the configurationobject within a network storage service.
 3. The method of claim 1,wherein the configuration object defines a set of services that thesecond version of the computing application is to provide.
 4. The methodof claim 1, wherein the computing application comprises a serviceprovider interface, the service provider interface to accommodate accessto services provided by the virtualization service, the service providerinterface comprising an interface for a cloud-dependent file systemservice, an interface for a cloud-dependent job queue service, and aninterface for a cloud-dependent database service.
 5. The method of claim1, wherein the computing application is a content server.
 6. The methodof claim 1, wherein the virtualization service is a publicvirtualization service.
 7. The method of claim 1, wherein thevirtualization service is a private virtualization service.
 8. Themethod of claim 1, comprising generating a read-only boot image to beused for launching the first version of the computing application. 9.The method of claim 8, comprising providing the read-only boot image toa network storage system accessible by the virtualization service. 10.The method of claim 1, wherein the configuration object is from aplurality of configuration objects, each configuration object from aplurality of configuration objects to define a different set of servicesthat a version of the computing application is to provide.
 11. Acomputer-implemented system comprising: a configuration request detectorto receive, at a computer system provided within a virtualizationservice, a configuration request, the computer system executing a firstversion of a computing application, the virtualization servicefacilitating a cloud computing architecture, the cloud architecturefacilitating loading one or more machine images containing descriptionof the computing application onto one or more physical machines andmaking the computing application accessible via a network; aconfiguration object retriever to retrieve a configuration object inresponse to the configuration request, the configuration object storedby the computing application and comprising executable code; and aconfiguration installer to automatically, using the configurationobject, install a configuration associated with the configuration objectto produce a second version of the computing application, the secondversion of the computing application running within the virtualizationservice.
 12. The system of claim 11, where in the configuration requestdetector is to: receive a request to store the configuration object, theconfiguration object comprising configuration name; and in response tothe request to store, store the configuration object within a networkstorage service.
 13. The system of claim 11, wherein the configurationobject defines a set of services that the second version of thecomputing application is to provide.
 14. The system of claim 11, whereinthe computing application comprises a service provider interface, theservice provider interface to accommodate access to services provided bythe virtualization service, the service provider interface comprising aninterface for a cloud-dependent file system service, an interface for acloud-dependent job queue service, and an interface for acloud-dependent database service.
 15. The system of claim 11, whereinthe computing application is a content server.
 16. The system of claim11, wherein the virtualization service is a public virtualizationservice.
 17. The system of claim 11, wherein the virtualization serviceis a private virtualization service.
 18. The system of claim 11, whereinthe first version of the computing application is associated with aread-only boot image.
 19. The system of claim 8, wherein the read-onlyboot image in provided to a network storage system accessible by thevirtualization service.
 20. A machine-readable non-transitory mediumhaving instruction data to cause a machine to: receive, at a computersystem provided within a virtualization service, a configurationrequest, the computer system executing a first version of a computingapplication, the virtualization service facilitating a cloud computingarchitecture, the cloud architecture facilitating loading one or moremachine images containing description of the computing application ontoone or more physical machines and making the computing applicationaccessible via a network; retrieve a configuration object in response tothe configuration request, the configuration object stored by thecomputing application and comprising executable code; and using theconfiguration object, install a configuration associated with theconfiguration object to produce a second version of the computingapplication, the second version of the computing application runningwithin the virtualization service.